package com.ks.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dCoder
 * @since 2022-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MenuIngredient对象", description="")
public class MenuIngredient implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜谱食材对应编号")
    @TableId(value = "menu_ingredient_id", type = IdType.ID_WORKER_STR)
    private String menuIngredientId;

    @ApiModelProperty(value = "菜谱ID")
    private String menuId;

    @ApiModelProperty(value = "食材ID")
    private String ingredientId;

    @ApiModelProperty(value = "单份食材用量")
    private String dosage;


}
